home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
SciAn
/
src
/
ScianNetDaemon.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-01
|
1KB
|
40 lines
/* ScianNetDaemon.h John R. Murray 3-5-92
*
* Version 0.01 added icon number to object register and info messages
* Version 0.0 the version before any other version
*/
#define ND_NET_DAEMON_VERSION "ScianNetDaemon_Version_0.01"
#define ND_PASSWORD "RUN?" /*don't get it? spell out the letters..*/
#define ND_REG_PROCESS "NEWP" /* add a process */
#define ND_UNREG_PROCESS "DELP" /* delete a process */
#define ND_INQ_PROCESS "INQP" /* ask about a particular process */
#define ND_LIST_PROCESSES "LSTP" /* list all currently registered procs */
#define ND_UPDATE_PROCESSES "UPDP" /* keep advising about proc changes */
#define ND_NOT_UPDATE_PROCESSES "NUPP" /* stop advising about proc changes */
#define ND_REG_OBJECT "NEWO"
#define ND_UNREG_OBJECT "DELO"
#define ND_INQ_OBJECT "INQO"
#define ND_LIST_OBJECTS "LSTO"
#define ND_UPDATE_OBJECTS "UPDO"
#define ND_NOT_UPDATE_OBJECTS "NUPO"
#define ND_ERROR "NAK!"
#define ND_CLOSE "DONE" /* done with inquiries, close socket */
#define ND_EXIT "QUIT" /* CAUSES DEMON TO EXIT */
#define ND_RENDEZVOUS "REND" /* rendezvous with process # */
#define ND_INFO_VERSION "VERS"
#define ND_INFO_LIVE_PROCESS "LIVP"
#define ND_INFO_DEAD_PROCESS "DEDP"
#define ND_INFO_LIVE_OBJECT "LIVO"
#define ND_INFO_DEAD_OBJECT "DEDO"
#define ND_INFO_RENDEZVOUS "RPRT" /* rendezvous ready on port # */
#define ND_CMD_STR_LENGTH 4
#ifndef ND_BASE_SOCKET_NUMBER
#define ND_BASE_SOCKET_NUMBER 4242
#endif
#define ND_SOCKET_BLOCK_LENGTH 100